import request from '@/utils/request'
import Vue from 'vue'

export function queryInfo(query) {
    let openId = localStorage.getItem("token");
    if (!openId) {
        Vue.$router.push('/login');
    }
    if (openId) {
        query.openId = openId;
    }
    query.organizationId="6";
    return request({
        url: 'api/account/queryInfo',
        method: 'post',
        data: query
    })
}
